package cn.zhoujing.security.demo.common.exceptio;

import org.springframework.security.core.AuthenticationException;

/**
 * 认证时Value类型校验异常
 * <p>
 * 如：用户ID期望值类型为Number，实际值类型为String则使用此方法抛错
 *
 * @author zhoujing
 * @createTime 2024/2/8 - 17:44
 */
public class ValueTypeValidateException extends AuthenticationException {
    public ValueTypeValidateException(String msg, Throwable cause) {
        super(msg, cause);
    }

    public ValueTypeValidateException(String msg) {
        super(msg);
    }

}
